package com.mianyang.zhangsan.model.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class SecProblemGroup {
    /**
     * 问题编号
     */
    @TableId(type = IdType.AUTO)
    private Long problemId;

    /**
     * 问题描述
     */
    private String problemDesc;

    /**
     * 问题类型
     */
    private Integer problemType;

    /**
     * 正确答案
     */
    private Long problemRight;

    /**
     * 问题解析
     */
    private String analysis;

    /**
     * 题库编号
     */
    private Long bankId;

    /**
     * 题库名称
     */
    private String bankName;

    @TableField(value = "count(*)", insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    private int count;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
